/* when leaving realPlayer.jsp, invoke this method to perform operation about database */
function closeVideo(demandedVideoId) {
	var url = "http://localhost:8088/VideoOnDemand_v7/closeVideo.do?demandedVideoId="+demandedVideoId;
	window.location.href = url;
}